package com.appleword.biz.book.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.appleword.common.annotation.Excel;
import com.appleword.common.core.domain.BaseEntity;

/**
 * 书籍分组对象 appleword_book_group
 * 
 * @author apple
 * @date 2024-05-13
 */
public class ApplewordBookGroup extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 类别名称 */
    @Excel(name = "类别名称")
    private String categoryName;

    /** 类别标识 */
    @Excel(name = "类别标识")
    private String categoryType;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String image;

    /** 排序 */
    @Excel(name = "排序")
    private Long categoryOrder;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCategoryName(String categoryName) 
    {
        this.categoryName = categoryName;
    }

    public String getCategoryName() 
    {
        return categoryName;
    }
    public void setCategoryType(String categoryType) 
    {
        this.categoryType = categoryType;
    }

    public String getCategoryType() 
    {
        return categoryType;
    }
    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }
    public void setCategoryOrder(Long categoryOrder) 
    {
        this.categoryOrder = categoryOrder;
    }

    public Long getCategoryOrder() 
    {
        return categoryOrder;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("categoryName", getCategoryName())
            .append("categoryType", getCategoryType())
            .append("image", getImage())
            .append("categoryOrder", getCategoryOrder())
            .toString();
    }
}